package restserviceplatform;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		 layout.setEditorAreaVisible(false);
		 String editorArea = layout.getEditorArea();
		 
		 layout.addView("RestServicePlatform.package", IPageLayout.LEFT, 0.2f, editorArea);
		 layout.addView("RestServicePlatform.fileView", IPageLayout.RIGHT, 0.7f, editorArea);
		 IFolderLayout folder = layout.createFolder("folderID", IPageLayout.BOTTOM,    
				    0.8f, editorArea);    
		          folder.addPlaceholder("RestServicePlatform.errorView" + ":*");    
		          folder.addView("RestServicePlatform.errorView");  
				  folder.addPlaceholder("RestServicePlatform.ProblemView" + ":*");    
				  folder.addView("RestServicePlatform.ProblemView");   
				  
		
		  
		 
		 
	}
}
